import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    condition:'',
    order: {}, // 订单
    orderState: [
      {stateDescription: "使用中",state: 1},
      {stateDescription: "未支付",state: 0},
      {stateDescription: "已过期",state: 4},
    ],
    payStyle: [
      {style: "余额支付",code: 0},
      {style: "扫码支付",code: 1},
    ],
    address: {
      provide: "河南省",
      city: "郑州市",
      area: "中原区",
    },
    user:{},
    carinfo:{},
    startime:'',
    endtime:'',
    startime_:'',
    endtime_:'',
    shopname:'惠济区门店',
    // 可能是租车以及还车的店铺名称
    brrowShop:'',
    carid:'',
    oby:0,
    getCarLocation:'',
    returnCarLocation:'',

    list_r:[
      { carName: "大众",price:500 },
      { carName: "大众",price:200 },
      { carName: "本田",price:200 },
      { carName: "丰田",price:200 },
      { carName: "奔驰",price:500 },
      { carName: "大众",price:200 },
   
    ],
    userbag:{},
    userdata:{}
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})
